<?php

declare (strict_types = 1);

namespace app\common\model\user;

use app\common\model\BaseModel;

class UserTag extends BaseModel
{
    protected $name = 'user_tag';

    /**
     * 关联用户标签分类表
     *
     * @return \think\model\relation\BelongsTo
     */
    public function userTagCate(): \think\model\relation\BelongsTo
    {
        return $this->belongsTo(UserTagCate::class, 'cate_id', 'id');
    }
}